/* assets/css/system-integration.css - PERFECT THEME CONSISTENT */

:root {
  --primary: #012970;
  --accent: #fcb614;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --text: #475569;
  --text-light: #64748b;
}

/* Hero */
.integration-hero {
  padding: 140px 0 40px;
  background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-badge {
  background: var(--accent);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 24px;
  font-family: sans-serif;
}

.main-title {
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  font-family: sans-serif;
}

.hero-text {
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 450px;
  font-family: sans-serif;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.stat-item {
  flex: 1;
  text-align: center;
}
.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  font-family: sans-serif;
}
.stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  font-family: sans-serif;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Common Sections */
.integration-definition,
.why-hexaroot,
.integration-types,
.value-section,
.process-section,
.tech-section {
  padding: 40px 0;
}

.integration-definition,
.why-hexaroot,
.value-section,
.process-section {
  background: var(--white);
}
.integration-types,
.tech-section {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--primary);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: sans-serif;
}

.section-header p {
  color: var(--text);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  font-family: sans-serif;
}

/* Definition */
.definition-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.definition-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

.definition-text p:last-child {
  margin-bottom: 0;
}

.definition-text strong {
  color: var(--primary);
}

/* Why Content */
.why-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.why-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}

/* Types Grid */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.type-card {
  padding: 32px 24px;
  border-left: 4px solid var(--accent);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.type-card:hover {
  transform: translateX(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.type-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(252, 182, 20, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 20px;
}

.type-card h4 {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.type-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.value-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.value-number {
  background: var(--accent);
  color: var(--primary);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 4px;
}

.value-item h4 {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-item p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Process Steps */
.process-steps {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
}

.step-number {
  background: var(--accent);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(252, 182, 20, 0.3);
}

.step-item h4 {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-item p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* Tech Stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.tech-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.tech-badge {
  background: var(--accent);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}

.tech-label {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

/* MOBILE */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    padding: 0px;
  }

  .hero-image {
    order: -1;
  }

  .process-steps {
    flex-direction: column;
  }

  .process-steps {
    display: flex;
    gap: 0px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
  }
}

@media (max-width: 768px) {
  .integration-hero {
    padding: 80px 20px 60px;
  }

  .hero-stats {
    flex-direction: row !important;
    gap: 16px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .stat-item {
    flex: 1 !important;
    min-width: 90px !important;
  }

  .stat-number {
    font-size: 22px !important;
  }
  .stat-label {
    font-size: 12px !important;
  }
  .main-title {
    font-size: 26px;
  }

  .types-grid,
  .value-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }
}
